"""
缩写词
"""
def acronym(phrase):
    str_list = phrase.split()
    upper_word = ''
    for word in str_list:
        upper_word += word[0].upper()
    return upper_word








phrase=input()
print(acronym(phrase))